package com.xtkj.superclub_entity.entity.friendsCircle;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 项目名称：superclub
 * 类 名 称：MyTrends
 * 类 描 述：TODO
 * 创建时间：2020/1/2 15:37
 * 创 建 人：xiezhiyan
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain=true)
@ToString
@TableName(value = "f_mytrends")
public class MyTrends implements Serializable {
    @TableId(value = "shareId",type = IdType.INPUT)
    private String myshareId;//个人分享id
    private String userId;//用户id
    private String photoPath;//相册路径
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdtm;//创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatedtm;//修改时间



}